import { createStore } from 'vuex'
// import createPersistedState from "vuex-persistedstate";
import user from "./user/index";

export default createStore({
    state: {
        count: 99
    },
    mutations: {
        add(state) {
            state.count++
        }
    },
    actions: {
    },
    modules: {
        user
    },
    plugins: [
    ]
})